
// 由于懒加载页面太多会造成webpack热更新太慢，所以开发环境不使用懒加载，只有生产环境使用懒加载
const _import = require("@/utils/util.import." + process.env.NODE_ENV)

// 普通页面的显示
const userPage = [
    {
        path: "/user",
        name: "user",
        children: [
            {
                path: "/asset-cec",
                name: "asset-cec",
                component: _import("page-user-asset/asset-cec"),
            },
            {
                path: "/asset-otc",
                name: "asset-otc",
                component: _import("page-user-asset/asset-otc"),
            },
            {
                path: "/otc-record",
                name: "otc-record",
                component: _import("page-user-asset/otc-record"),
            },
            {
                path: "/cec-record",
                name: "cec-record",
                component: _import("page-user-asset/cec-record"),
            },
        ]
    },
    {
        path: "/user/asset",
        name: "user-asset",
        component: _import("page-user-asset/asset"),
        children: [
            {
                path: ":tag",
                name: "tag",
                component: _import("page-user-asset/asset"),
            }
        ]
    },
  

]

// 导出
export default userPage